package org.rk.core.user.rolePerm;

import javax.validation.constraints.NotNull;

import org.rk.core.common.anno.FieldMeta;
import org.rk.core.common.anno.TableMeta;
import org.rk.core.common.bean.BaseBean;
@TableMeta(name = "core_role_perm", catalog = "rk_user_manage")
public class CoreRolePerm extends BaseBean{

	private static final long serialVersionUID = 1L;
	@NotNull
	@FieldMeta(name="roleId",length=20,desc="")
	private long roleId;
	@NotNull
	@FieldMeta(name="permId",length=20,desc="")
	private long permId;
	@FieldMeta(name="enabled",length=2,desc="",defaultValue="1")
	private String enabled;

	public void setRoleId(long roleId){
		this.roleId=roleId;
	}

	public long getRoleId(){
		return roleId;
	}

	public void setPermId(long permId){
		this.permId=permId;
	}

	public long getPermId(){
		return permId;
	}

	public void setEnabled(String enabled){
		this.enabled=enabled;
	}

	public String getEnabled(){
		return enabled;
	}

}
